package cz.data.domain.visual.service;

import cz.data.common.mybatis.BaseService;
import cz.data.domain.visual.model.dto.BoardDto;
import cz.data.domain.visual.model.entity.BoardEntity;

import java.util.List;

public interface BoardService extends BaseService<BoardEntity> {

    BoardEntity saveBoard(BoardDto board);

    BoardEntity updateBoard(BoardDto board);

    BoardEntity getBoardById(String id);

    void deleteBoardById(String id);

    void deleteBoardBatch(List<String> ids);

    void copyBoard(String id);

    void buildBoard(BoardDto board);
}
